<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>错误提示</title>
    <link href="/css/bootstrap.min.css" rel="stylesheet">
    <link href="/css/style.css" rel="stylesheet">
    <style>
        .error-container {
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            background: linear-gradient(135deg, #4b6cb7 0%, #182848 100%);
        }
        .error-box {
            background: rgba(255, 255, 255, 0.95);
            border-radius: 15px;
            padding: 2rem;
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
            text-align: center;
            max-width: 500px;
            width: 90%;
        }
        .error-code {
            font-size: 3rem;
            font-weight: bold;
            color: #4b6cb7;
            margin-bottom: 1rem;
        }
        .error-message {
            color: #666;
            margin-bottom: 1.5rem;
        }
        .error-url {
            color: #999;
            font-size: 0.9rem;
            margin-bottom: 1.5rem;
            word-break: break-all;
        }
        .btn-back {
            background: linear-gradient(45deg, #4b6cb7, #182848);
            border: none;
            padding: 0.8rem 2rem;
            color: white;
            border-radius: 25px;
            text-decoration: none;
            transition: all 0.3s;
        }
        .btn-back:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 8px rgba(75, 108, 183, 0.3);
            color: white;
        }
    </style>
</head>
<body>
    <div class="error-container">
        <div class="error-box">
            <div class="error-code" th:text="${code}">500</div>
            <div class="error-message" th:text="${message}">系统内部错误</div>
<!--            <div class="error-url" th:text="${url}">URL</div>-->
            <a href="/" class="btn btn-back">返回首页</a>
        </div>
    </div>
</body>
</html> 